<template>
  <div position="relative" style="height: 100%;">
    <n-layout position="absolute">
      <n-layout-header style="height: 64px; padding: 24px" bordered>
        XiaTi系统管理程序
      </n-layout-header>
      <n-layout has-sider position="absolute" style="top: 64px">
        <Sidebar />
        <n-layout content-style="padding: 16px; margin-button: 10px">
          <n-scrollbar trigger="hover">
            <RouterView />
          </n-scrollbar>
        </n-layout>
      </n-layout>
    </n-layout>
  </div>
</template>
